<?php

namespace api\controllers;

use Yii;

class GoodController extends BaseController
{
    public $modelClass = "api\models\Good";
    public $searchModelClass = 'api\models\search\GoodSearch';
	
	/**
	 * 去掉用户登录验证
	 * @return array
	 */
	public function behaviors()
	{
		$behavior = parent::behaviors();
		unset($behavior['authenticatior']);
		return $behavior;
	}
}
